const headMenus = Object.freeze([{
    "text": "File",
    "data-test": "file",
    "submenu": [
      {
        "cmd": "newSequence",
        "data-test": "newSequence"
      },
      "renameSequence",
      "saveSequence",
      "saveSequenceAs",
      "deleteSequence",
      "duplicateSequence",
      "--",
      {
        "cmd": "toggleReadOnlyMode",
        "shouldDismissPopover": false
      },
      "--",
      "importSequence",
      {
        "text": "Export Sequence",
        "showInSearchMenu": true,
        "submenu": [{
            "cmd": "exportSequenceAsGenbank"
          },
          {
            "cmd": "exportSequenceAsFasta"
          },
          {
            "cmd": "exportSequenceAsTeselagenJson"
          },
          {
            "text": "Custom export option!"
          },
          {
            "text": "Custom export option!"
          },
          {
            "text": "Custom export option!"
          },
          {
            "text": "Custom export option!"
          }
        ]
      },
      "--",
      {
        "text": "Print",
        "cmd": "print"
      },
      {
        "cmd": "viewRevisionHistory",
        "text": "Revision History"
      },
      {
        "cmd": "viewProperties",
        "text": "Properties",
        "icon": "properties"
      }
    ]
  },
  {
    "text": "Edit",
    "submenu": [{
        "text": "Create",
        "cmd": "createMenuHolder",
        "showInSearchMenu": true,
        "submenu": [
          "newFeature",
          "newPart",
          "newTranslation",
          "newReverseTranslation",
          "newPrimer",
          "createNewFromSubsequence"
        ]
      },
      "--",
      "cut",
      "copy",
      {
        "text": "Copy Options",
        "showInSearchMenu": true,
        "submenu": [{
            "cmd": "toggleCopyFeatures",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleCopyPartialFeatures",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleCopyParts",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleCopyPartialParts",
            "shouldDismissPopover": false
          }
        ]
      },
      "paste",
      "--",
      "undo",
      "redo",
      "--",
      "find",
      "goTo",
      "--",
      "select",
      "selectAll",
      "selectInverse",
      {
        "text": "Change Case",
        "cmd": "changeCaseCmd",
        "submenu": [
          "flipCaseSequence",
          "upperCaseSequence",
          "lowerCaseSequence",
          "upperCaseSelection",
          "lowerCaseSelection"
        ]
      },
      {
        "text": "Change Circular/Linear",
        "submenu": [
          "toggleCircular",
          "toggleLinear"
        ]
      },
      "--",
      "complementSelection",
      "complementEntireSequence",
      "reverseComplementSelection",
      "reverseComplementEntireSequence",
      "rotateToCaretPosition"
    ]
  },
  {
    "text": "View",
    "submenu": [{
        "cmd": "showAll",
        "shouldDismissPopover": false
      },
      {
        "cmd": "hideAll",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleWarnings",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleAssemblyPieces",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleLineageAnnotations",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleFeatures",
        "shouldDismissPopover": false,
        "submenu": [{
            "cmd": "toggleFeatures",
            "shouldDismissPopover": false
          },
          {
            "cmd": "featureTypesCmd",
            "shouldDismissPopover": false
          },
          {
            "cmd": "featureFilterIndividualCmd",
            "shouldDismissPopover": false
          },
          {
            "cmd": "filterFeatureLengthsCmd",
            "shouldDismissPopover": false
          }
        ]
      },
      {
        "cmd": "toggleTranslations",
        "shouldDismissPopover": false,
        "submenu": [{
            "cmd": "toggleTranslations",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleCdsFeatureTranslations",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleOrfTranslations",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleAminoAcidNumbers_dna",
            "shouldDismissPopover": false
          }
        ]
      },
      {
        "cmd": "togglePrimers",
        "shouldDismissPopover": false
      },
      {
        "cmd": "togglePartsWithSubmenu",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleCutsites",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleOrfs",
        "shouldDismissPopover": false,
        "submenu": [{
            "cmd": "toggleOrfs",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleOrfTranslations",
            "shouldDismissPopover": false
          },
          {
            "cmd": "useGtgAndCtgAsStartCodons",
            "shouldDismissPopover": false
          },
          {
            "cmd": "minOrfSizeCmd",
            "shouldDismissPopover": false
          }
        ]
      },
      {
        "divider": ""
      },
      {
        "cmd": "toggleShowGCContent",
        "shouldDismissPopover": false,
        "text": "Percent GC Content of Selection"
      },
      {
        "text": "Melting Temp of Selection"
      },
      {
        "text": "Sequence Case",
        "cmd": "sequenceCase",
        "submenu": [{
            "cmd": "toggleSequenceMapFontUpper",
            "text": "Upper Case",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleSequenceMapFontRaw",
            "text": "No Preference",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleSequenceMapFontLower",
            "text": "Lower Case",
            "shouldDismissPopover": false
          }
        ]
      },
      {
        "divider": ""
      },
      {
        "text": "Full Sequence Translation",
        "cmd": "fullSequenceTranslations",
        "submenu": [{
            "shouldDismissPopover": false,
            "cmd": "sequenceAA_allFrames",
            "text": "All Frames"
          },
          {
            "shouldDismissPopover": false,
            "cmd": "sequenceAA_frame1",
            "text": "Frame 1"
          },
          {
            "shouldDismissPopover": false,
            "cmd": "sequenceAA_frame2",
            "text": "Frame 2"
          },
          {
            "shouldDismissPopover": false,
            "cmd": "sequenceAA_frame3",
            "text": "Frame 3"
          },
          {
            "shouldDismissPopover": false,
            "cmd": "sequenceAAReverse_allFrames",
            "text": "All Reverse Frames"
          },
          {
            "shouldDismissPopover": false,
            "cmd": "sequenceAAReverse_frame1",
            "text": "Frame -1"
          },
          {
            "shouldDismissPopover": false,
            "cmd": "sequenceAAReverse_frame2",
            "text": "Frame -2"
          },
          {
            "shouldDismissPopover": false,
            "cmd": "sequenceAAReverse_frame3",
            "text": "Frame -3"
          }
        ]
      },
      {
        "divider": ""
      },
      {
        "cmd": "toggleAxis",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleAxisNumbers",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleAminoAcidNumbers_protein",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleSequence",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleReverseSequence",
        "shouldDismissPopover": false
      },
      {
        "cmd": "toggleDnaColors",
        "shouldDismissPopover": false
      },
      {
        "divider": ""
      },
      {
        "text": "Limits",
        "cmd": "limitsMenu",
        "submenu": [{
            "text": "Max Features To Show",
            "type": "features"
          },
          {
            "text": "Max Parts To Show",
            "type": "parts"
          },
          {
            "text": "Max Cut Sites To Show",
            "type": "cutsites"
          },
          {
            "text": "Max Primers To Show",
            "type": "primers"
          },
          {
            "text": "Max Warnings To Show",
            "type": "warnings"
          },
          {
            "text": "Max Assembly Pieces To Show",
            "type": "assemblyPieces"
          },
          {
            "text": "Max Lineage Annotations To Show",
            "type": "lineageAnnotations"
          }
        ]
      },
      {
        "text": "Labels",
        "submenu": [{
            "cmd": "toggleFeatureLabels",
            "shouldDismissPopover": false
          },
          {
            "cmd": "togglePartLabels",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleCutsiteLabels",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleAssemblyPieceLabels",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleLineageAnnotationLabels",
            "shouldDismissPopover": false
          },
          {
            "cmd": "toggleWarningLabels",
            "shouldDismissPopover": false
          },
          {
            "cmd": "togglePrimerLabels",
            "shouldDismissPopover": false
          },
          {
            "divider": ""
          },
          {
            "cmd": "toggleExternalLabels",
            "shouldDismissPopover": false
          },
          {
            "cmd": "adjustLabelLineIntensity",
            "shouldDismissPopover": false
          },
          {
            "cmd": "adjustLabelSize",
            "shouldDismissPopover": false
          }
        ]
      }
    ]
  },
  {
    "text": "Tools",
    "cmd": "toolsCmd",
    "submenu": [
      "openFilterCutsites",
      "restrictionEnzymesManager",
      "openCreateCustomEnzyme",
      "simulateDigestion",
      {
        "text": "Remove Duplicates",
        "submenu": [
          "showRemoveDuplicatesDialogFeatures",
          "showRemoveDuplicatesDialogParts",
          "showRemoveDuplicatesDialogPrimers"
        ]
      },
      {
        "text": "Auto Annotate",
        "cmd": "autoAnnotateHolder",
        "submenu": [
          "autoAnnotateFeatures",
          "autoAnnotateParts",
          "autoAnnotatePrimers"
        ]
      },
      {
        "text": "My Custom Tool"
      },
    ]
  },
  // {
  //   "text": "Help",
  //   "submenu": [{
  //       "isMenuSearch": true
  //     },
  //     "--",
  //     "about",
  //     {
  //       "cmd": "versionNumber",
  //       "shouldDismissPopover": false
  //     },
  //     "hotkeyDialog"
  //   ]
  // }
])

export default headMenus